@primary-color: #11b6f3;
@box-shadow: 0 3px 8px rgba(0,0,0,0.05);
@border-radius: 8px;
@background-gray: #f7f7f7;

.scrollbar(@width: 6px, @bg: rgba(0,0,0,0.2)){
  overflow-y: auto;
  &::-webkit-scrollbar {
    background: none;
    width: @width;
  }
  &::-webkit-scrollbar-thumb {
    background: @bg;
    border-radius: 3px;
  }
}

// 超出显示省略号
.text-overflow(@row: 1) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: @row;
  overflow: hidden;
}